package com.j1ay.forum.model.dto.params;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


import lombok.Data;

/**
 * @Author J1ay
 * @Date 2021/12/14 21:32
 * @Description 分页格式
 */

@Data
@ApiModel(value="请求首页问题页数")
public class PageParams {

    @ApiModelProperty(value = "当前页数",required = true)
    private int page = 1;

    @ApiModelProperty(value = "一页返回条数",required = true)
    private int pageSize = 10;

    @ApiModelProperty(value = "搜索信息")
    private String queryString;
}
